import * as mongoose from 'mongoose';
import config from 'src/config/config';
const Schema = mongoose.Schema;
export const OrderItemSchema = new Schema(
    {
        order_id: { type: Schema.Types.ObjectId },
        product_title: { type: String },
        product_id: { type: Schema.Types.ObjectId },
        product_img: { type: String },
        product_price: { type: Number },
        product_num: { type: Number },
    },
    config.SchemaOptions,
);
